package com.healthcloud.entity;

import com.healthcloud.query.CriteriaCondition;
import com.healthcloud.query.RelationalOp;
import com.healthcloud.search.Criteria;

/**
 * Created by xiam on 2015/6/16.
 */
public class HospitalCriteria implements Criteria {

    @CriteriaCondition(relationalOp = RelationalOp.LIKE)
    private String hospName; // 医院名称

    @CriteriaCondition(relationalOp = RelationalOp.NOT_LT)
    private Integer hospLvl; // 医院等级

    private Long areaCode; // 所属区域

    @CriteriaCondition(relationalOp = RelationalOp.GT, name = "areaCode")
    private Long areaCodeStart;

    @CriteriaCondition(relationalOp = RelationalOp.LT, name = "areaCode")
    private Long areaCodeEnd;

    public String getHospName() {
        return hospName;
    }

    public void setHospName(String hospName) {
        this.hospName = hospName;
    }

    public Integer getHospLvl() {
        return hospLvl;
    }

    public void setHospLvl(Integer hospLvl) {
        this.hospLvl = hospLvl;
    }

    public Long getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(Long areaCode) {
        this.areaCode = areaCode;
    }

    public Long getAreaCodeStart() {
        return areaCodeStart;
    }

    public void setAreaCodeStart(Long areaCodeStart) {
        this.areaCodeStart = areaCodeStart;
    }

    public Long getAreaCodeEnd() {
        return areaCodeEnd;
    }

    public void setAreaCodeEnd(Long areaCodeEnd) {
        this.areaCodeEnd = areaCodeEnd;
    }
}
